Skip to content

nvme: enable cli for windows build#3544

Merged
igaw merged 1 commit into
linux-nvme:masterfrom
Micron-TPG-OSS:bcapener/enable-cli-on-windows
Jul 3, 2026
Merged

nvme: enable cli for windows build#3544
igaw merged 1 commit into
linux-nvme:masterfrom
Micron-TPG-OSS:bcapener/enable-cli-on-windows

Conversation

@bcapener

@bcapener bcapener commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Remove windows dummy cli target and add all relevant source files to the windows cli build.

@bcapener bcapener force-pushed the bcapener/enable-cli-on-windows branch from 8a38328 to bf6a9db Compare July 2, 2026 20:33
Comment thread nvme-rpmb.c Outdated
@@ -131,6 +133,10 @@ unsigned char *create_hash(const char *algo,
close(infd);

return hash;
#else
/*Windows support will be added later*/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See this PR #3545

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've merged #3545. Could you rebase it? Thanks!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@bcapener bcapener marked this pull request as ready for review July 2, 2026 20:53
Comment thread meson.build Outdated
'nvme.c',
'plugin.c',
]
if host_system != 'windows'
sources += [
'libnvme-wrap.c',

@igaw igaw Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed libnvme-wrap.c as it is dead code anyway: #3547

This should result in only on feature adding for source files. Yay!

@igaw

igaw commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Very nice to see this landing soon! Fantastic job!

Remove windows dummy cli target and add all relevant
source files to the windows cli build.

Signed-off-by: Brandon Capener <bcapener@micron.com>
@bcapener bcapener force-pushed the bcapener/enable-cli-on-windows branch from bf6a9db to df3c83c Compare July 3, 2026 17:12
@igaw igaw merged commit 3dd7bd2 into linux-nvme:master Jul 3, 2026
32 checks passed
@igaw

igaw commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Thanks a lot!

I’m glad we got it working. After the heavy refactoring, the platform-specific code is now well compartmentalized, so I’d call this a win. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants